package com.sxapp.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class PageController {
	
	@RequestMapping("/index")//管理端首页
	public String page_index() {
		return "admin/index";
	}
	@RequestMapping("/images")//管理端首页
	public String page_images(Model model) {
		model.addAttribute("img1", "sxapp1.jpg");
		model.addAttribute("img2", "sxapp2.jpg");
		model.addAttribute("img3", "sxapp3.jpg");
		model.addAttribute("img4", "sxapp4.jpg");
		return "admin/images";
	}
}
